Automattic\WooCommerce\Admin\API\Reports\PerformanceIndicators\Controller A

Total Complexity 70
Dependencies 8
Dependents 0
Total lines 668
Lines of code 403
Logical lines of code 184
Comment lines 170
Methods 19
Properties 8

Methods 19

Method Rating Maintainability Complexity Lines of code
get_analytics_report_data()
A
45 12 37
get_items()
A
41 8 55
format_data_value()
A
52 10 21
get_jetpack_modules_data()
S
47 6 38
sort()
S
50 5 31
get_allowed_items()
S
50 4 28
get_active_jetpack_modules()
S
62 5 11
get_item_schema()
S
45 2 48
get_collection_params()
S
48 2 36
get_indicator_data()
S
67 4 8
prepare_links()
S
59 2 15
register_routes()
S
53 1 28
get_stats_data()
S
61 2 12
prepare_item_for_response()
S
65 2 8
get_stats_parts()
S
67 1 8
set_active_jetpack_modules()
S
81 1 3
prepare_reports_query()
S
69 1 7
get_public_allowed_item_schema()
S
70 1 6
__construct()
S
78 1 3